Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add hasStartMaximizedEnabled method. #978

Merged
merged 3 commits into from
May 9, 2022
Merged

Add hasStartMaximizedEnabled method. #978

merged 3 commits into from
May 9, 2022

Conversation

roksprogar
Copy link
Contributor

@roksprogar roksprogar commented May 8, 2022

I have added the hasStartMaximizedEnabled function to the DuskTestCase which checks for the existence of the DUSK_START_MAXIMIZED parameter, which enables the maximization of the browser window for all tests (or defaults to the full hd resolution like before).

I think this option will be useful for developers who work on higher resolutions (2K, 4K...) and who, like me, end up putting $browser->maximize(); in every single one of their tests...but would now be able to enable this option globally.

@roksprogar roksprogar changed the title Start maximized enabled Add hasStartMaximizedEnabled method. May 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants